<html>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<head>
    <title>Hello</title>
</head>

<script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js"></script>

            
            <textarea id="tt" rows="10" cols="80"></textarea>
            <div>
            	            <button width="100%" type="button" onclick="abc=document.getElementById('tt').value.replace(/=\d{13}/g,'='+$.now()+'\r\n');document.getElementById('ww').href=abc;document.getElementById('ww').innerHTML=abc;">点击</button>
            </div>

        
         <div><a id = "ww" href="https://www.baidu.com" target="_self"></a> </div>
    
        </body>
</html>